package cs342.project1.mathNotebook.data;

import java.util.*;

import cs342.project1.mathNotebook.notebook.NotebookEntry;

/**
 * Provides the ability to read notebook entries from a data source
 * @author Jared Schlicht
 */
public interface NotebookReader {
    /**
     * Gets all notebook entries from the datasource
     * @return list of notebook entries
     */
    public abstract List<NotebookEntry> getAll();
    
    /**
     * Closes any resources held by this NotebookReader
     */
    public abstract void close();
}
